﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LibUpdate
{
    /// <summary>
    /// 升级动作接口
    /// </summary>
    internal interface IUpdateAction
    {
        /// <summary>
        /// 操作的文件
        /// </summary>
        File ActionFile
        {
            get;
            set;
        }

        string AppPath
        {
            get;
            set;
        }

        /// <summary>
        /// 版本信息
        /// </summary>
        string VerStrDir
        {
            get;
            set;
        }
        /// <summary>
        /// 添加
        /// </summary>
        bool Add();

        /// <summary>
        /// 删除
        /// </summary>
        bool Delete();

        bool Edit();

        bool Update();

        bool Exec();
    }
}
